.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* 改回原背景色 */
}

.login-card {
  background: rgba(255, 255, 255, 0.9); /* 改回原卡片背景色 */
  padding: 2.5rem;
  border-radius: 20px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* 改回原阴影 */
}

.ai-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.ai-logo {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.login-title {
  font-size: 2rem;
  color: #fff;
  text-align: center;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-subtitle {
  color: #555; /* 改为更深的灰色 */
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 500; /* 增加字重 */
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: #333; /* 改为深色 */
  font-weight: 500;
}

.input-wrapper {
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 0.8rem 2.5rem 0.8rem 1rem;
  border: 1px solid #ddd; /* 改为深色边框 */
  border-radius: 8px;
  font-size: 1rem;
  background: #fff; /* 改为白色背景 */
  color: #333; /* 改为深色文字 */
  transition: all 0.3s ease;
}

.form-group input:focus {
  border-color: #667eea; /* 改为与背景色匹配的边框颜色 */
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2); /* 调整阴影颜色 */
}

.input-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666; /* 改为深色图标 */
}

.login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%);
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.button-text {
  font-weight: 500;
}

.button-icon {
  font-size: 1.2rem;
}

.login-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: rgba(154, 152, 152, 0.8);
}

.login-footer a {
  color: #00d2ff;
  text-decoration: none;
  font-weight: 500;
}

.login-footer a:hover {
  text-decoration: underline;
}
